<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>企业财务管理系统</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
        }
        
        .container {
            display: flex;
            min-height: 100vh;
        }
        
        /* 侧边栏样式 */
        .sidebar {
            width: 220px;
            background-color: #2c3e50;
            color: white;
            padding: 20px 0;
        }
        
        .logo {
            text-align: center;
            padding: 10px 0 30px;
            border-bottom: 1px solid #34495e;
        }
        
        .logo h2 {
            font-size: 20px;
        }
        
        .nav-menu {
            margin-top: 20px;
        }
        
        .nav-item {
            padding: 12px 20px;
            cursor: pointer;
            transition: all 0.3s;
            border-left: 3px solid transparent;
        }
        
        .nav-item:hover {
            background-color: #34495e;
        }
        
        .nav-item.active {
            background-color: #34495e;
            border-left: 3px solid #3498db;
        }
        
        .nav-item i {
            margin-right: 10px;
        }
        
        /* 主内容区样式 */
        .main-content {
            flex: 1;
            padding: 20px;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 20px;
            border-bottom: 1px solid #ddd;
            margin-bottom: 20px;
        }
        
        .user-info {
            display: flex;
            align-items: center;
        }
        
        .user-info img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        /* 内容卡片样式 */
        .content-card {
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .card-title {
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        /* 表格样式 */
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        table th, table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        
        table th {
            background-color: #f9f9f9;
            font-weight: 600;
        }
        
        /* 按钮样式 */
        .btn {
            padding: 8px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background-color: #3498db;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #2980b9;
        }
        
        .btn-success {
            background-color: #2ecc71;
            color: white;
        }
        
        .btn-success:hover {
            background-color: #27ae60;
        }
        
        .btn-danger {
            background-color: #e74c3c;
            color: white;
        }
        
        .btn-danger:hover {
            background-color: #c0392b;
        }
        
        .btn-warning {
            background-color: #f39c12;
            color: white;
        }
        
        .btn-warning:hover {
            background-color: #d35400;
        }
        
        /* 表单样式 */
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }
        
        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        
        /* 财务数据统计卡片 */
        .stats-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .stat-card {
            flex: 1;
            min-width: 200px;
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 15px;
        }
        
        .stat-title {
            font-size: 14px;
            color: #777;
            margin-bottom: 10px;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: bold;
        }
        
        .income {
            color: #2ecc71;
        }
        
        .expense {
            color: #e74c3c;
        }
        
        .profit {
            color: #3498db;
        }
        
        /* 图表容器 */
        .chart-container {
            height: 300px;
            margin-bottom: 20px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                height: auto;
            }
            
            .nav-menu {
                display: flex;
                flex-wrap: wrap;
            }
            
            .nav-item {
                flex: 1 0 50%;
                text-align: center;
            }
            
            .stats-container {
                flex-direction: column;
            }
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
    <div class="container">
        <!-- 侧边导航栏 -->
        <div class="sidebar">
            <div class="logo">
                <h2><i class="fas fa-calculator"></i> 财务管理系统</h2>
            </div>
            <div class="nav-menu">
                <div class="nav-item active">
                    <i class="fas fa-home"></i> 系统首页
                </div>
                <div class="nav-item">
                    <i class="fas fa-money-bill-wave"></i> 收支管理
                </div>
                <div class="nav-item">
                    <i class="fas fa-chart-pie"></i> 成本控制
                </div>
                <div class="nav-item">
                    <i class="fas fa-hand-holding-usd"></i> 应收账款管理
                </div>
                <div class="nav-item">
                    <i class="fas fa-file-invoice-dollar"></i> 财务报表
                </div>
            </div>
        </div>
        
        <!-- 主内容区 -->
        <div class="main-content">
            <div class="header">
                <h2>财务概览</h2>
                <div class="user-info">
                    <img src="https://via.placeholder.com/40" alt="用户头像">
                    <span>财务主管</span>
                </div>
            </div>
            
            <!-- 财务数据统计 -->
            <div class="stats-container">
                <div class="stat-card">
                    <div class="stat-title">本月收入</div>
                    <div class="stat-value income">¥ 85,420</div>
                </div>
                <div class="stat-card">
                    <div class="stat-title">本月支出</div>
                    <div class="stat-value expense">¥ 42,380</div>
                </div>
                <div class="stat-card">
                    <div class="stat-title">本月利润</div>
                    <div class="stat-value profit">¥ 43,040</div>
                </div>
                <div class="stat-card">
                    <div class="stat-title">应收账款</div>
                    <div class="stat-value">¥ 126,750</div>
                </div>
            </div>
            
            <!-- 收支趋势图表 -->
            <div class="content-card">
                <div class="card-title">
                    <i class="fas fa-chart-line"></i> 收支趋势
                </div>
                <div class="chart-container">
                    <!-- 这里放置图表，实际项目中可以使用ECharts等图表库 -->
                    <div style="display: flex; justify-content: center; align-items: center; height: 100%; background-color: #f9f9f9; color: #999;">
                        [收支趋势图表区域]
                    </div>
                </div>
            </div>
            
 
